package com.xinmao.quantitative.api;

import cn.hutool.json.JSONObject;
import com.xinmao.quantitative.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Title: StockData
 * @Author: XYe13
 * @Date: 4/30/2024 13:24
 * @Description: <通过akTools 获取股票数据>
 */
@FeignClient(name = "east-money-etf", url = "https://88.push2.eastmoney.com/api",configuration = FeignConfig.class)
public interface EastMoneyETFMarketDataApi {

    @GetMapping("/qt/clist/get")
    JSONObject getClist(@RequestParam Map<String,Object> request);

}
